Vector

Legend types
Introduction

In this tab you can define, in an advanced manner, the type of legend with which you want to represent the data of layer, from its fields [1].

simbologia-y-etiquetado/simbologia_avanzada/tipos_de_leyendas/tipos-de-leyendas.img/tipos-leyendas_es.png

[1]: It must be noted that you can not use the fields resulting from a join to make legend classifications, meaning that, to use these fields in a legend you will have to export the shp resulting from the join.

You can choose the following forms of representation:


Quantities

Four types of legends can be found:

Point density

Defines a legend of a point density based on the value of a certain field.

Labelling field A drop-down menu opens where you can choose fields from the table (Double or Integer types) from which you can make a legend which represents the quantity of each value in the table. The properties of the points which represent the density of the values in the table can be changed.

Point value: This is the numeric value which will be given to each point that is drawn.

Intervals

This type of legend represents the elements of a layer using a range of colours. The gaps or graduated colours are mainly used to represent numeric data which have progression or range of values, such as population, temperature, etc.

Classification field: A drop-down menu where you can chose the attributes of the layer for which you want to make the classification for. The field must be numerical as it is a gradual classification (by the rank of the value)

Cuantil intervals: The number of intervals are specified and the sample is divided into this number but gathering into groups values according to their order. Number of intervals: Should indicate the rank or interval number which defines their classification.

Graduated symbols

Represents quantities through the size of a symbol showing relative values.

Proportional symbols

Represents quantities through the size of the symbol which shows exact values.

Normalisation fields: Possibility of choosing a numerical field which normalises the results, maintaining the proportion of quantities.


Categories

Expressions

Shows layer elements according to a certain filtered expression.

tipos-de-leyendas.img/leyenda_expresiones_sld_24_es.png

Unique values

Each register can be represented with an exclusive symbol according to the value it adopts in a certain field in the attributes table. It is the most efficient method for spreading categorical data, such as municipalities, floor types, etc.

tipos_de_leyendas/tipos-de-leyendas.img/valores_unicos_es.png

You will find the following symbology configuration options:


Multiple attributes
Quantity by category

Category quantities

Represents quantities for each category.

For this, it combines two fields (which must be of a numeric type), applying a combined legend made up of colour ramp (for field_1) and specific gradual symbols (for field_2).

Meaning that this type of legend combines a a representation of intervals based on the values of Field_1 with anothier representation of gradual symbols based on the values of field_2.

tipos-de-leyendas.img/multiples_atributos.PNG

Pie legendIntroduction

Chart or diagram legends are intended to provide a visual representation of data in a table, thereby communicating a lot of information very easily.

In particular this extension allows two types of legends to be constructed:


Display and selection of pie charts

The pie legend is located in the Multiple attributes section of the legend tree, and can be used to represent several attributes at once. To access it, right-click on the layer name to open the Properties and then select the symbols tab.

The following options are available for configuring the pie charts:

leyenda-de-tartas/leyenda-de-tartas.img/leyendaTartas_en.png

Symbols. Pie legend

Fields: You can choose which of the layer's fields to represent, provided they are numeric. With these fields you can:

To do this click on the buttons shown in the image above (Box 1).

Colour scheme: You can change the default colour scheme for the pies. To do this select the desired "Colour scheme" from the drop-down list, as shown in the image above (Box 2).

Change the colour: In addition it is possible to change the colour of pie slices once they have been added.

Once the default colour scheme has been chosen, the colour of a pie slice can be changed by double-clicking on its color.

The following dialog is displayed where you can select a colour sample or set it yourself (HSB, RGB).

leyenda-de-tartas/leyenda-de-tartas.img/colores_en.png

Symbols. Color Selection

Background symbol: You can change the symbol of the background geometries by clicking on the symbol to open the symbol editor (pictured above, Box 3).

leyenda-de-tartas/leyenda-de-tartas.img/selector-de-simbolos_en.png

Symbols. Symbol Selector

Outline: You can display an outline with a specified colour and thickness around the pie slices. Tick the "Show" check box to draw outlines around the pie sectors.

Dimension: Tick the check box to display the pie in 3D. By default the pie is drawn in 2D.

Preview chart: Any changes made are reflected on the chart preview.


Chart size options

Click the 'Size' button located in the pie legend configuration screen.

leyenda-de-tartas/leyenda-de-tartas.img/BotonTamano_en.png

Pie Legend. Size button

Clicking this will open the following dialog:

leyenda-de-tartas/leyenda-de-tartas.img/tipos_tamano_en.png

Pie Legend. Configuring size

There are three options for setting the size of the diagrams:

In addition to setting the size of the pie, the units can also be specified.

Units: Select units (meters, pixels ...) and representation (in the world or print layout), depending on your requirements. If the units are set to "in the world" then the size will depend on the View's zoom level, while selecting "print layout" results in a fixed size, both on the screen and when printed.

Active Limits: Limits can be specified if the size of the chosen field size is not set to the "Fixed Size" option.

Activating limits for the other options sets the minimum and maximum values of a particular measure (Sum of field values or Field size). Taking the limits into account, the intermediate field values are calculated in proportion to the values ​​of the records of the field, or to the sum of the field values.


Draw pie charts for selected geometries only

This option is used to restrict the drawing of pie charts to selected geometries.

The geometries can be selected either before or after configuring the pie chart size and display options.

In order to represent pie charts for selected geometries, simply activate the check box Draw only selection in the pie legend configuration dialog.

leyenda-de-tartas/leyenda-de-tartas.img/Seleccion_en.png

Check to display pie charts for selected geometries only

The following image shows an example in which pie charts are only shown for selected geometries (shown in yellow).

leyenda-de-tartas/leyenda-de-tartas.img/seleccionEjemplo_en.png

Example showing pie charts for selected geometries


Bar legendDisplay and selection of bar charts

The bar legend is located the Multiple Attributes section of the legend tree, and can be used to represent several attributes at once. To access it, right-click on the layer name to open the Properties, then select the Symbols tab.

The following options are available for configuring bar charts:

leyenda-de-barras/leyenda-de-barras.img/Composicion_Barras_en.png

Symbols. Legend bar

Fields: You can choose which of the layer's fields to represent, provided they are numeric. With these fields you can:

To do this click on the buttons shown in the image above (Box 1).

Colour scheme: You can change the default colour scheme for the bars. To do this, select the desired "Colour scheme" from the drop-down list, as shown in the image above (Box 2).

Change the colour: In addition it is possible to change the colour of bars once they have been added.

Once the default colour scheme has been chosen, the colour of a bar can be changed by double-clicking on its color tile.

You can use the following dialog to select a colour sample, or set it yourself (HSB, RGB).

leyenda-de-tartas/leyenda-de-tartas.img/colores_en.png

Symbols. Color Selection

Background symbol: You can change the symbol of the background geometries by clicking on the symbol to open the symbol editor (pictured above, Box 3).

leyenda-de-tartas/leyenda-de-tartas.img/selector-de-simbolos_en.png

Symbols. Symbol Selector

Outline: You can display an outline with a specified colour and thickness around the bars. Tick the "Show" check box to draw outlines around the bars.

Dimension: Tick the check box to display the bars in 3D. By default the bars are drawn in 2D.

Preview chart: Any changes made are reflected on the chart preview.


Chart size options

Click the 'Size' button located in the bar legend configuration screen.

leyenda-de-tartas/leyenda-de-tartas.img/BotonTamano_en.png

Bar Legend. Size button

Clicking this will open the following dialog:

leyenda-de-tartas/leyenda-de-tartas.img/tipos_tamano_en.png

Bar Legend. Configuring size

There are three options for setting the size of the diagrams:

In addition to setting the size of the bars, the units can also be specified.

Units: Select units (meters, pixels ...) and representation (in the world or print layout), depending on your requirements. If the units are set to "in the world" then the size will depend on the View's zoom level, while selecting "print layout" results in a fixed size, both on the screen and when printed.

Active Limits: Limits can be specified if the size of the chosen field size is not set to the "Fixed Size" option.

Activating limits for the other options sets the minimum and maximum values of a particular measure (Sum of field values or Field size). Taking the limits into account, the intermediate field values are calculated in proportion to the values of the records of the field, or to the sum of the field values.


Draw bar charts for selected geometries only

This option is used to restrict the drawing of bar charts to selected geometries.

The geometries can be selected either before or after configuring the bar chart size and display options.

In order to display bar charts for selected geometries, simply tick the check box “Draw only selection” in the pie legend configuration dialog.

leyenda-de-tartas/leyenda-de-tartas.img/Seleccion_en.png

Check to display bar charts for selected geometries only

The following image shows an example in which bar charts are only shown for selected geometries (shown in yellow).

leyenda-de-barras/leyenda-de-barras.img/SeleccionBarras_en.png

Example showing bar charts for selected geometries


Objects

Unique symbol

This is the default gvSIG legend type.

Represents all the elements of a layer using the same symbols. It is useful for when you need to show the location of a layer more than its any other attribute. The representation of its symbology depends on the type of geometry, this is further explained in the symbols section.

tipos-de-leyendas.img/simbolo-unico_es.png

Saving and recovering legends

Save legend:

The legends that have been created can be saved so that you can use them on other occasions.

To save, click on the “Save legend” button.

tipos-de-leyendas.img/guard.PNG

A window will open with the save options: save legend with gvSIV (.gvl) format or standard exchange .sld format (currently supports SDL 1.0.0).

tipos-de-leyendas.img/guardar_ley_es.PNG

Legend recovery:

Legends that have been previously created can be recovered at any time. Click on the “Recover legend button” and select the legend you want to recover.

tipos-de-leyendas.img/Recuperar_leyenda.PNG

Modify symbols
Introduction

The Symbols tab is used to define advanced features of the legend being worked with.

When creating symbols for a legend it is important point to bear in mind the type of layer the symbols are being created for. This is important because there are two different types of vector layers to consider when making the symbols:

tipos_de_leyendas/tipos-de-leyendas.img/tipos-leyendas_en.png

Single geometry layer

simbologia/simbologia.img/propiedades_simb_multigeom_en.png

Multigeometry layer

In this case, there is a single Symbols tab where you can configure the symbol properties of the points, lines and polygons separately. Points are configured under the Marker tab, lines under the Line tab, and polygons under the Fill tab.

simbologia/simbologia.img/pestanyas_multigeometria_en.png

Tabs corresponding to the symbols for multigeometry layers

With this clarified, we can now look at symbol properties while taking the geometry type into account.


Symbol editor
Introduction

From the layer menu, in properties, you can access the Symbology section. It is possible to change or configure a new symbol clicking on “Select symbol” where you will find different configuration options.

Click on the “Select symbol” button and then on the “Properties” button. The window which opens will allow you to edit the properties of the symbol. This is the same window that will open if you click on “New”.

simbologia.img/Propiedades_simbolo_poligono_es.png

By default gvSIG symbolises the layers with 'unique symbols'.

As well as the basic options that can been seen at first glance, such as colour, breadth and the type of units in which the symbol is to be represented, you can also edit the properties of the element. Next a classification of the properties of an element is made according to its geometry type.

The dialogue boxes that open have common sections and others that are specific to the type of geometry, we see them as follows:

Common characteristics:

simbologia/simbologia.img/simbo_carac_comunes_es.png.PNG

When a symbol, is configured from its Properties, be it a point, a line or a polygon, it can be defined:

Under colour you find a scrolling bar, which allows you to play with the grade of the transparency of the elements. This way, you can superimpose polygon layers without interfering with its display.

simbologia_avanzada/simbologia/simbologia.img/Unidades_es.png

We can also specify if they are units “on the map” (the size would depend on where the zoom is set) or “on paper” (it will have a set size, both on screen and when it is printed).

Specific characteristics of each type of geometry:

Symbol type:

Mercator Lines Fill-in
Of character Simple line Simple fill-in
Simple mercator Mercator lines Image fill-in
Mercator image Line image Mercators fill-in
Of character Simple line Line fill-ins
Of character Simple line Gradient fill-ins

The mercators represent the layers of the points.

The lines represent the linear layers.

The fill-ins represent the polygon layers.

All three together represent the multi-geometric layers.


Marker or specific symbol

You can chose between different Markers that are shown in “Type of Marker”.

Simple Marker:

In “Marker style”, select the marker (circle, square, cross...). You can modify its size, angle and colour as well as being able to move it around the ordinate and abscissa axis.

simbologia.img/Propiedades_simbolo_punto_es.png

Marker made up of simple markers: you can make up a marker from various other simple markers by “overlapping” one over the other, this is done by clicking on “add layer”, where each layer is a simple marker. You can delete or change the order of the layers by clicking on “Delete layer” or “Tidy layers”. In the following image there is an example of a symbol made up of various simple markers.

simbologia.img/Marcador_simple_es.png

You can make the symbols stand out by choosing the colour of the outline and giving it the same transparency as the fill-in of the symbols. To give the symbol an outline you must check the “Use outline” box. You can move the symbol around the ordinate and abscissa axis or leave it in the centre.

Character marker:

You can use the different alphanumeric character types to create a symbol, you can modify its size, angle and colour as well as being able to move it around the ordinate and abscissa axis.

simbologia.img/simb_punto_caracter_es.png

Picture marker:

You can chose whichever image you want to represent the symbol. This image can be in different formats (jpg, png,bmp, svg..., you can even download an image from the internet, as long as the format is supported by gvSIG). To add it just select the path where the image is saved by clicking on “Examine”, next to "Image file".

Also, you have the option of selecting a different image, which is to represent the geometries, when they have been selected and are in view. Do this by entering the path of the image in "Selected image".

You can move the symbol around the ordinate and abscissa axis or leave it in the centre.

simbologia.img/simb_punto_imagen_es.png

Lines or linear symbols

You can choose between different Mercator that are shown in the “Mercator type”.

Simple line symbol:

You can choose the colour of the line, its breadth and its movement (offset), as well as having the option to modify its opaqueness and, of course, its measurement units.

simbologia.img/Propiedades_simbolo_linea_es.png

As well as that the layers of the points can make up one line with various lines “overlapping” using the same method than which in the layers of points.

In the “Line properties” tab you can generate different types of lines, continuous lines which gvSIG has as default, or discontinuous lines, establishing the fill-in pattern you choose. For this a rule is made available from which you can design your own patterns.

simbologia.img/propiedades_linea_es.png

Click on the grey section which is on the rule and drag right, next click on the rule, in the rule section you want, and a black section will appear which you can eliminate if you “click” on it again. This way you can successively add sections which can design your line.

If you want to delete the designed line click on “clean”.

In the “Arrow decorations” tab you can turn a line into an arrow. To make this happen check the “Use decoration” box.

simbologia.img/decoracion_flecha_es.png

The options available to decorate the arrow are:

Mercator line symbols:

You can use different font types, such as characters, to create a symbol, modifying its breadth and separation.

simbologia.img/simb_linea_marcadores_es.png

Image line symbol:

You can chose the image you want to make up the line, this image can be in different formats (jpg, png, bmp, svg...). To add the image you only have to select the path to where the image is saved by clicking on “Examine”. You can set the breadth and scale the image in “X” and “Y”.

simbologia.img/simb_linea_imagen_es.png

Fills for polygon symbols

The following fill-in Types for polygonal geometry layers are available.

Simple fill-in:

You can choose the polygon fill-in colour and its opaqueness.

simbologia.img/Propiedades_simbolo_poligono_es.png

Click on the button where you can see the outline and the simple symbol of a line properties menu will open. Here you can configure the outline of the polygon as if it were a line.

You can give the outline the breadth and opaqueness you want.

Fill-in made up of simple mercators: You can make up a fill-in from various simples by “overlapping” them, it is the same method as that which is explained in the layers of points and lines.

Mercator fill-ins:

You can give the polygon a fill-in made up of different types of mercators, such as punctual, linear, image... with their own characteristics.

The fill-in can be organised in an aleatory way or in a regular mesh way.

There is the option to make compositions with various layers.

simbologia_avanzada/simbologia/simbologia.img/relleno-marcador.png

Line fill-in:

Instead of filling the polygon in with specific mercators you can do so with lines, you can give them the same properties that you gave a line layer, including the outlines.

As in all sections, here you can also create a composition through different layers.

simbologia_avanzada/simbologia/simbologia.img/relleno-lineas.png

Image fill-in:

You can fill-in the polygon of images and set their inclinations by indicating the angle and you can also scale them.

The way to fill-in the polygon of images is by giving them the specific route to the image. These images can be framed, click on “Outline” and select the line you want.

simbologia_avanzada/simbologia/simbologia.img/naranjos.png

Gradient fill-in:

The possibility of gradually filling-in is available, you can select different options to configure the gradual scale of the colour, these options are:

simbologia.img/simb_relleno_gradiente_es.png

Symbol levels

As you can see in the following image, a symbol has two buttons that configure it, “Select Symbol” where you can define its properties, and “Symbology Levels” which allows us to establish the exact order the different layers has created the symbol.

simbologia.img/Propiedades_simbologia_es.png

It is important to establish an order when different geometries of the same layer intersect, as can be the case in the unique Value of legends for line layers, for example, where the order established could be of interest so that some symbols are above others.

“0” value corresponds to the symbol drawn at that bottom, “1” is drawn above that and so forth successively.

simbologia.img/niveles_simbologia_es.png

Labels that show in ToC

You can give whatever name you want to the different legend values, to see them in the Table of Contents.

simbologia.img/simb_etiqueta_TOC_es.png

In the previous image we saw a legend by a unique Symbol, but it is also possible to give each of the legend values a label name by Interval, unique Value, etc. (or modify it, from each of the text boxes), as well as being able to modify the order with which theses values appear in ToC (throught the up/down arrows):

simbologia_avanzada/tipos_de_leyendas/tipos-de-leyendas.img/valores_unicos_es.png

Library of Symbols

Upon installing gvSIC a folder called 'Symbols' is created in the user directory, here you can save different types of symbols (punctual, linear, polygonal...). In other words, it works as a library of symbols. Also, gvSIG includes, by default, a set of symbols from each type of geometry, saving them in the above mentioned folder.

simbologia.img/simb_mapinfo_es.png

Once a symbol is created, from the “Symbology select” menu, click on “Save”.

A window will open, allowing you to save the symbols on a specific route, inside the “Symbols” folder.

simbologia.img/biblioteca_es.PNG

Name the symbol and click on save. Make sure you have saved the symbol as a .sym file and that when you open another layer of the same type of geometry, the library of symbols which has been saved appears.

tipos_de_leyendas/tipos-de-leyendas.img/biblio.PNG

Cached time 11/22/13 01:27:42 Clear cache and reload